<?php
//判断后台管理员是否登录的session
session_start();
if (empty($_SESSION['uid'])) {
	echo '<script>location.href="../admin/login.php";</script>';
	exit;
}
?>